package com.example.elastic.document;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @author zxs
 * @since 2022/4/20
 */
@Data
public class Address {

    private String street;

    private String[] alias;

    @Field(type = FieldType.Keyword)
    private String phone;
}
